/**
 * Created by dis on 2015/1/26.
 */
var gulp = require('gulp'),
    less = require('gulp-less');

gulp.task('default', function () {

});

gulp.task('lint', function () {

});

gulp.task('less', function () {
    return gulp.src('./less/**/*.less')
        .pipe(less())
        .on('error', function (e) {     //手动捕捉错误，并显示错误信息
            console.error(e);
        })
        .pipe(gulp.dest('./tmp/css'));
});